package com.hrbu.ssm.service;

import com.hrbu.ssm.bean.Employee;

import java.util.List;

/**
 * @Description:
 * @Author: tanyajun
 * @CreateTime: 2021/3/25
 * @Blog: https://tanyajun.top
 */

public interface EmployeeService {
    List<Employee> getEmployeeList();

    List<Employee> getEmpListByPage(Integer page, Integer limit);

    Long getTotal();

    Integer update(Employee employee);

    Employee findEmpById(Integer id);

    Integer delete(Employee employee);

    List<Employee> queryByMind(String empName, String startDate, String endDate, Integer page, Integer limit);

    Integer queryByMindTotalNum(String empName, String startDate, String endDate);

    Integer insert(Employee employee);
}
